Skip to content

chore: run eas only when labelled#3208

Merged
juliusmarminge merged 1 commit into
mainfrom
yash/run-eas-labelled
Jun 20, 2026
Merged

chore: run eas only when labelled#3208
juliusmarminge merged 1 commit into
mainfrom
yash/run-eas-labelled

Conversation

@Yash-Singh1

@Yash-Singh1 Yash-Singh1 commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

What Changed

Why

UI Changes

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
CI-only workflow gating with no application, auth, or data-path changes.

Overview
EAS Preview no longer runs on every pull request. The mobile-eas-preview workflow still listens to PR activity, but the preview job is skipped unless the PR carries the 🚀 Mobile Continuous Deployment label.

The workflow now declares explicit pull_request types (opened, reopened, synchronize, labeled, unlabeled) so adding or removing that label re-triggers the workflow and the if condition is evaluated again—e.g. a label added after open can start a build without a new push.

Reviewed by Cursor Bugbot for commit 191eb3d. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Run EAS preview job only when PR has the Mobile CD label

The preview job in mobile-eas-preview.yml now requires the 🚀 Mobile Continuous Deployment label to run. The workflow also adds labeled and unlabeled to its trigger events so the condition is evaluated when labels change.

Macroscope summarized 191eb3d.

@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: cd521188-169d-4247-82e8-21e621541d95

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch yash/run-eas-labelled

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Jun 20, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f15d829. Configure here.

jobs:
preview:
name: EAS Preview
if: contains(github.event.pull_request.labels.*.name, 'mobile-build')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Label churn retriggers EAS preview

High Severity

The workflow triggers on labeled and unlabeled events. The job runs if the mobile-build label is present, causing redundant EAS preview deploys when other labels change (e.g., automated size:* updates), even without new code. This increases run time and resource usage.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f15d829. Configure here.

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jun 20, 2026
@macroscopeapp

macroscopeapp Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Approvability

A prior Macroscope approval was dismissed. Re-evaluating 191eb3d

@Yash-Singh1 Yash-Singh1 force-pushed the yash/run-eas-labelled branch from f15d829 to 191eb3d Compare June 20, 2026 03:26
@macroscopeapp macroscopeapp Bot dismissed their stale review June 20, 2026 03:26

Dismissing prior approval to re-evaluate 191eb3d

@juliusmarminge juliusmarminge enabled auto-merge (squash) June 20, 2026 03:27
@juliusmarminge juliusmarminge merged commit 9544e72 into main Jun 20, 2026
15 checks passed
@juliusmarminge juliusmarminge deleted the yash/run-eas-labelled branch June 20, 2026 03:28
@Yash-Singh1 Yash-Singh1 added the 🚀 Mobile Continuous Deployment Trigger Expo preview build label Jun 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Expo continuous deployment is ready!

  • Project → t3-code
  • Platforms → android, ios
  • Scheme → t3code-preview
  🤖 Android 🍎 iOS
Fingerprint fe5a51f2e189da69dfc4c2cd458e6cfb5fdff2ea ae3bd597809dfd7771d0898f735d172973d4c1c8
Build Details Build Permalink
DetailsDistribution: INTERNAL
Build profile: preview:dev
Runtime version: fe5a51f2e189da69dfc4c2cd458e6cfb5fdff2ea
App version: 0.1.0
Git commit: 9544e72d08755dfc5d9014efd87243f4654f239d
Build Permalink
DetailsDistribution: INTERNAL
Build profile: preview:dev
Runtime version: ae3bd597809dfd7771d0898f735d172973d4c1c8
App version: 0.1.0
Git commit: 9544e72d08755dfc5d9014efd87243f4654f239d
Update Details Update Permalink
DetailsBranch: pr-3208
Runtime version: fe5a51f2e189da69dfc4c2cd458e6cfb5fdff2ea
Git commit: 9544e72d08755dfc5d9014efd87243f4654f239d
Update Permalink
DetailsBranch: pr-3208
Runtime version: ae3bd597809dfd7771d0898f735d172973d4c1c8
Git commit: 9544e72d08755dfc5d9014efd87243f4654f239d
Update QR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚀 Mobile Continuous Deployment Trigger Expo preview build size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants